package com.ck.ck_back.pojo;

public class History {
    private Integer historyId;

    private String userId;

    private Integer productionId;

    private Long historyTime;

    private Integer state;

    private Production production;

    public Production getProduction() {
        return production;
    }

    public void setProduction(Production production) {
        this.production = production;
    }

    public Integer getHistoryId() {
        return historyId;
    }

    public void setHistoryId(Integer historyId) {
        this.historyId = historyId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getProductionId() {
        return productionId;
    }

    public void setProductionId(Integer productionId) {
        this.productionId = productionId;
    }

    public Long getHistoryTime() {
        return historyTime;
    }

    public void setHistoryTime(Long historyTime) {
        this.historyTime = historyTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "History{" +
                "historyId=" + historyId +
                ", userId='" + userId + '\'' +
                ", productionId=" + productionId +
                ", historyTime=" + historyTime +
                ", state=" + state +
                ", history=" + production +
                '}';
    }
}